import Mock from 'mockjs'

Mock.mock('http://20211129Mock.com/dataCenter/steep', 'get', {
  code: 200,
  data: [
    {
      createTime: '2022-1-1 11:00:11',
      data: [
        {
          Name: '二氧化硫',
          Unit: '毫克/立方米',
          Value: '0.03107'
        },
        {
          Name: '氧气含量',
          Unit: '%',
          Value: '20.67628'
        },
        {
          Name: '氧气含量',
          Unit: '%',
          Value: '20.67628'
        },
        {
          Name: '氧气含量',
          Unit: '%',
          Value: '20.67628'
        },
        {
          Name: '氧气含量',
          Unit: '%',
          Value: '20.67628'
        },
        {
          Name: '烟尘Zs',
          Unit: '毫克/立方米',
          Value: '0.09203'
        },
        {
          Name: '烟尘Zs',
          Unit: '毫克/立方米',
          Value: '0.09203'
        },
        {
          Name: '烟尘Zs',
          Unit: '毫克/立方米',
          Value: '0.09203'
        },
        {
          Name: '烟尘Zs',
          Unit: '毫克/立方米',
          Value: '0.09203'
        },
        {
          Name: '烟尘Zs',
          Unit: '毫克/立方米',
          Value: '0.09203'
        },
        {
          Name: '烟尘Zs',
          Unit: '毫克/立方米',
          Value: '0.09203'
        },
        {
          Name: '烟尘Zs',
          Unit: '毫克/立方米',
          Value: '0.09203'
        },
        {
          Name: '烟尘Zs',
          Unit: '毫克/立方米',
          Value: '0.09203'
        }
      ]
    },
    {
      createTime: '2022-1-1 11:00:11',
      data: [
        {
          Name: '二氧化硫',
          Unit: '毫克/立方米',
          Value: '0.03107'
        },
        {
          Name: '氧气含量',
          Unit: '%',
          Value: '20.67628'
        },
        {
          Name: '氧气含量',
          Unit: '%',
          Value: '20.67628'
        },
        {
          Name: '氧气含量',
          Unit: '%',
          Value: '20.67628'
        },
        {
          Name: '氧气含量',
          Unit: '%',
          Value: '20.67628'
        },
        {
          Name: '烟尘Zs',
          Unit: '毫克/立方米',
          Value: '0.09203'
        },
        {
          Name: '烟尘Zs',
          Unit: '毫克/立方米',
          Value: '0.09203'
        },
        {
          Name: '烟尘Zs',
          Unit: '毫克/立方米',
          Value: '0.09203'
        },
        {
          Name: '烟尘Zs',
          Unit: '毫克/立方米',
          Value: '0.09203'
        },
        {
          Name: '烟尘Zs',
          Unit: '毫克/立方米',
          Value: '0.09203'
        },
        {
          Name: '烟尘Zs',
          Unit: '毫克/立方米',
          Value: '0.09203'
        },
        {
          Name: '烟尘Zs',
          Unit: '毫克/立方米',
          Value: '0.09203'
        },
        {
          Name: '烟尘Zs',
          Unit: '毫克/立方米',
          Value: '0.09203'
        }
      ]
    },
    {
      createTime: '2022-1-1 11:00:11',
      data: [
        {
          Name: '二氧化硫',
          Unit: '毫克/立方米',
          Value: '0.03107'
        },
        {
          Name: '氧气含量',
          Unit: '%',
          Value: '20.67628'
        },
        {
          Name: '氧气含量',
          Unit: '%',
          Value: '20.67628'
        },
        {
          Name: '氧气含量',
          Unit: '%',
          Value: '20.67628'
        },
        {
          Name: '氧气含量',
          Unit: '%',
          Value: '20.67628'
        },
        {
          Name: '烟尘Zs',
          Unit: '毫克/立方米',
          Value: '0.09203'
        },
        {
          Name: '烟尘Zs',
          Unit: '毫克/立方米',
          Value: '0.09203'
        },
        {
          Name: '烟尘Zs',
          Unit: '毫克/立方米',
          Value: '0.09203'
        },
        {
          Name: '烟尘Zs',
          Unit: '毫克/立方米',
          Value: '0.09203'
        },
        {
          Name: '烟尘Zs',
          Unit: '毫克/立方米',
          Value: '0.09203'
        },
        {
          Name: '烟尘Zs',
          Unit: '毫克/立方米',
          Value: '0.09203'
        },
        {
          Name: '烟尘Zs',
          Unit: '毫克/立方米',
          Value: '0.09203'
        },
        {
          Name: '烟尘Zs',
          Unit: '毫克/立方米',
          Value: '0.09203'
        }
      ]
    },
    {
      createTime: '2022-1-1 11:00:11',
      data: [
        {
          Name: '二氧化硫',
          Unit: '毫克/立方米',
          Value: '0.03107'
        },
        {
          Name: '氧气含量',
          Unit: '%',
          Value: '20.67628'
        },
        {
          Name: '氧气含量',
          Unit: '%',
          Value: '20.67628'
        },
        {
          Name: '氧气含量',
          Unit: '%',
          Value: '20.67628'
        },
        {
          Name: '氧气含量',
          Unit: '%',
          Value: '20.67628'
        },
        {
          Name: '烟尘Zs',
          Unit: '毫克/立方米',
          Value: '0.09203'
        },
        {
          Name: '烟尘Zs',
          Unit: '毫克/立方米',
          Value: '0.09203'
        },
        {
          Name: '烟尘Zs',
          Unit: '毫克/立方米',
          Value: '0.09203'
        },
        {
          Name: '烟尘Zs',
          Unit: '毫克/立方米',
          Value: '0.09203'
        },
        {
          Name: '烟尘Zs',
          Unit: '毫克/立方米',
          Value: '0.09203'
        },
        {
          Name: '烟尘Zs',
          Unit: '毫克/立方米',
          Value: '0.09203'
        },
        {
          Name: '烟尘Zs',
          Unit: '毫克/立方米',
          Value: '0.09203'
        },
        {
          Name: '烟尘Zs',
          Unit: '毫克/立方米',
          Value: '0.09203'
        }
      ]
    },
    {
      createTime: '2022-1-1 11:00:11',
      data: [
        {
          Name: '二氧化硫',
          Unit: '毫克/立方米',
          Value: '0.03107'
        },
        {
          Name: '氧气含量',
          Unit: '%',
          Value: '20.67628'
        },
        {
          Name: '氧气含量',
          Unit: '%',
          Value: '20.67628'
        },
        {
          Name: '氧气含量',
          Unit: '%',
          Value: '20.67628'
        },
        {
          Name: '氧气含量',
          Unit: '%',
          Value: '20.67628'
        },
        {
          Name: '烟尘Zs',
          Unit: '毫克/立方米',
          Value: '0.09203'
        },
        {
          Name: '烟尘Zs',
          Unit: '毫克/立方米',
          Value: '0.09203'
        },
        {
          Name: '烟尘Zs',
          Unit: '毫克/立方米',
          Value: '0.09203'
        },
        {
          Name: '烟尘Zs',
          Unit: '毫克/立方米',
          Value: '0.09203'
        },
        {
          Name: '烟尘Zs',
          Unit: '毫克/立方米',
          Value: '0.09203'
        },
        {
          Name: '烟尘Zs',
          Unit: '毫克/立方米',
          Value: '0.09203'
        },
        {
          Name: '烟尘Zs',
          Unit: '毫克/立方米',
          Value: '0.09203'
        },
        {
          Name: '烟尘Zs',
          Unit: '毫克/立方米',
          Value: '0.09203'
        }
      ]
    },
    {
      createTime: '2022-1-1 11:00:11',
      data: [
        {
          Name: '二氧化硫',
          Unit: '毫克/立方米',
          Value: '0.03107'
        },
        {
          Name: '氧气含量',
          Unit: '%',
          Value: '20.67628'
        },
        {
          Name: '氧气含量',
          Unit: '%',
          Value: '20.67628'
        },
        {
          Name: '氧气含量',
          Unit: '%',
          Value: '20.67628'
        },
        {
          Name: '氧气含量',
          Unit: '%',
          Value: '20.67628'
        },
        {
          Name: '烟尘Zs',
          Unit: '毫克/立方米',
          Value: '0.09203'
        },
        {
          Name: '烟尘Zs',
          Unit: '毫克/立方米',
          Value: '0.09203'
        },
        {
          Name: '烟尘Zs',
          Unit: '毫克/立方米',
          Value: '0.09203'
        },
        {
          Name: '烟尘Zs',
          Unit: '毫克/立方米',
          Value: '0.09203'
        },
        {
          Name: '烟尘Zs',
          Unit: '毫克/立方米',
          Value: '0.09203'
        },
        {
          Name: '烟尘Zs',
          Unit: '毫克/立方米',
          Value: '0.09203'
        },
        {
          Name: '烟尘Zs',
          Unit: '毫克/立方米',
          Value: '0.09203'
        },
        {
          Name: '烟尘Zs',
          Unit: '毫克/立方米',
          Value: '0.09203'
        }
      ]
    },
    {
      createTime: '2022-1-1 11:00:11',
      data: [
        {
          Name: '二氧化硫',
          Unit: '毫克/立方米',
          Value: '0.03107'
        },
        {
          Name: '氧气含量',
          Unit: '%',
          Value: '20.67628'
        },
        {
          Name: '氧气含量',
          Unit: '%',
          Value: '20.67628'
        },
        {
          Name: '氧气含量',
          Unit: '%',
          Value: '20.67628'
        },
        {
          Name: '氧气含量',
          Unit: '%',
          Value: '20.67628'
        },
        {
          Name: '烟尘Zs',
          Unit: '毫克/立方米',
          Value: '0.09203'
        },
        {
          Name: '烟尘Zs',
          Unit: '毫克/立方米',
          Value: '0.09203'
        },
        {
          Name: '烟尘Zs',
          Unit: '毫克/立方米',
          Value: '0.09203'
        },
        {
          Name: '烟尘Zs',
          Unit: '毫克/立方米',
          Value: '0.09203'
        },
        {
          Name: '烟尘Zs',
          Unit: '毫克/立方米',
          Value: '0.09203'
        },
        {
          Name: '烟尘Zs',
          Unit: '毫克/立方米',
          Value: '0.09203'
        },
        {
          Name: '烟尘Zs',
          Unit: '毫克/立方米',
          Value: '0.09203'
        },
        {
          Name: '烟尘Zs',
          Unit: '毫克/立方米',
          Value: '0.09203'
        }
      ]
    },
    {
      createTime: '2022-1-1 11:00:11',
      data: [
        {
          Name: '二氧化硫',
          Unit: '毫克/立方米',
          Value: '0.03107'
        },
        {
          Name: '氧气含量',
          Unit: '%',
          Value: '20.67628'
        },
        {
          Name: '氧气含量',
          Unit: '%',
          Value: '20.67628'
        },
        {
          Name: '氧气含量',
          Unit: '%',
          Value: '20.67628'
        },
        {
          Name: '氧气含量',
          Unit: '%',
          Value: '20.67628'
        },
        {
          Name: '烟尘Zs',
          Unit: '毫克/立方米',
          Value: '0.09203'
        },
        {
          Name: '烟尘Zs',
          Unit: '毫克/立方米',
          Value: '0.09203'
        },
        {
          Name: '烟尘Zs',
          Unit: '毫克/立方米',
          Value: '0.09203'
        },
        {
          Name: '烟尘Zs',
          Unit: '毫克/立方米',
          Value: '0.09203'
        },
        {
          Name: '烟尘Zs',
          Unit: '毫克/立方米',
          Value: '0.09203'
        },
        {
          Name: '烟尘Zs',
          Unit: '毫克/立方米',
          Value: '0.09203'
        },
        {
          Name: '烟尘Zs',
          Unit: '毫克/立方米',
          Value: '0.09203'
        },
        {
          Name: '烟尘Zs',
          Unit: '毫克/立方米',
          Value: '0.09203'
        }
      ]
    }
  ]
})

Mock.mock('http://20211129Mock.com/tableData/profileWorkOrder', 'get', {
  code: 200,
  data: {
    formHead: [
      { 规格型号: 'specification' },
      { 工单生成时间: 'createTime' },
      { 石墨棒起始编号: 'startNumber' },
      { 石墨棒结束编号: 'endNumber' },
      { 焦配比说明: 'cokeRatio' }
    ],
    dataTab: [
      {
        specification: 'HP',
        createTime: '2022 2.22 2:22',
        startNumber: '220123001',
        endNumber: '220123055',
        cokeRatio: '成型呢成型呢',
        state: '待出炉'
      },
      {
        specification: 'HP',
        createTime: '2022 2.22 2:22',
        startNumber: '220123001',
        endNumber: '220123055',
        cokeRatio: '成型呢成型呢',
        state: '待出炉'
      },
      {
        specification: 'HP',
        createTime: '2022 2.22 2:22',
        startNumber: '220123001',
        endNumber: '220123055',
        cokeRatio: '成型呢成型呢',
        state: '待出炉'
      },
      {
        specification: 'HP',
        createTime: '2022 2.22 2:22',
        startNumber: '220123001',
        endNumber: '220123055',
        cokeRatio: '成型呢成型呢',
        state: '已出炉'
      },
      {
        specification: 'HP',
        createTime: '2022 2.22 2:22',
        startNumber: '220123001',
        endNumber: '220123055',
        cokeRatio: '成型呢成型呢',
        state: '待出炉'
      },
      {
        specification: 'HP',
        createTime: '2022 2.22 2:22',
        startNumber: '220123001',
        endNumber: '220123055',
        cokeRatio: '成型呢成型呢',
        state: '已出炉'
      },
      {
        specification: 'HP',
        createTime: '2022 2.22 2:22',
        startNumber: '220123001',
        endNumber: '220123055',
        cokeRatio: '成型呢成型呢',
        state: '已出炉'
      },
      {
        specification: 'HP',
        createTime: '2022 2.22 2:22',
        startNumber: '220123001',
        endNumber: '220123055',
        cokeRatio: '成型呢成型呢',
        state: '已出炉'
      },
      {
        specification: 'HP',
        createTime: '2022 2.22 2:22',
        startNumber: '220123001',
        endNumber: '220123055',
        cokeRatio: '成型呢成型呢',
        state: '已出炉'
      },
      {
        specification: 'HP',
        createTime: '2022 2.22 2:22',
        startNumber: '220123001',
        endNumber: '220123055',
        cokeRatio: '成型呢成型呢',
        state: '已出炉'
      }
    ]
  }
})

Mock.mock('http://20211129Mock.com/tableData/profileQuality', 'get', {
  code: 200,
  data: {
    formHead: [
      // { 规格型号: 'specification' },
      // { 生成时间: 'createTime' },
      // { 石墨棒编号: 'Number' },
      // { 正品: 'isCertified' },
      // { 重量: 'weight' },
      // { 长度: 'height' },
      // { 直径: 'diameter' },
      // { 体积密度: 'density' }
      { specification: '规格型号' },
      { createTime: '生成时间' },
      { Number: '石墨棒编号' },
      { isCertified: '正品' },
      { weight: '重量' },
      { height: '长度' },
      { diameter: '直径' },
      { volume: '体积' },
      { density: '体积密度' }
    ],
    dataTab: [
      {
        specification: 'HP',
        createTime: '2022 2.22 2:22',
        Number: '220123001',
        isCertified: '是',
        weight: '',
        height: '',
        diameter: '',
        density: '-',
        volume: '-',
        _id: '1'
      },
      {
        specification: 'HP',
        createTime: '2022 2.22 2:22',
        Number: '220123001',
        isCertified: '否',
        weight: '232',
        height: '52.2',
        diameter: '66.8',
        density: '-',
        volume: '-',
        _id: '2'
      },
      {
        specification: 'HP',
        createTime: '2022 2.22 2:22',
        Number: '220123001',
        isCertified: '是',
        weight: '232',
        height: '52.2',
        diameter: '66.8',
        density: '-',
        volume: '-',
        _id: '3'
      },
      {
        specification: 'HP',
        createTime: '2022 2.22 2:22',
        Number: '220123001',
        isCertified: '是',
        weight: '232',
        height: '52.2',
        diameter: '66.8',
        density: '-',
        volume: '-',
        _id: '4'
      },
      {
        specification: 'HP',
        createTime: '2022 2.22 2:22',
        Number: '220123001',
        isCertified: '否',
        weight: '232',
        height: '52.2',
        diameter: '66.8',
        density: '-',
        volume: '-',
        _id: '5'
      },
      {
        specification: 'HP',
        createTime: '2022 2.22 2:22',
        Number: '220123001',
        isCertified: '是',
        weight: '232',
        height: '52.2',
        diameter: '66.8',
        density: '-',
        volume: '-',
        _id: '6'
      },
      {
        specification: 'HP',
        createTime: '2022 2.22 2:22',
        Number: '220123001',
        isCertified: '是',
        weight: '232',
        height: '52.2',
        diameter: '66.8',
        density: '-',
        volume: '-',
        state: '待一焙',
        _id: '7'
      },
      {
        specification: 'HP',
        createTime: '2022 2.22 2:22',
        Number: '220123001',
        isCertified: '是',
        weight: '232',
        height: '52.2',
        diameter: '66.8',
        density: '34',
        volume: '-',
        state: '待一焙',
        _id: '8'
      },
      {
        specification: 'HP',
        createTime: '2022 2.22 2:22',
        Number: '220123001',
        isCertified: '是',
        weight: '232',
        height: '52.2',
        diameter: '66.8',
        density: '12',
        volume: '-',
        state: '待一焙',
        _id: '9'
      },
      {
        specification: 'HP',
        createTime: '2022 2.22 2:22',
        Number: '220123001',
        isCertified: '是',
        weight: '232',
        height: '52.2',
        diameter: '66.8',
        density: '24',
        volume: '-',
        state: '待一焙',
        _id: '10'
      }
    ]
  }
})
